Skip to content

DM-4993 reland projects - #72

Merged
carlosfunk merged 29 commits into
mainfrom
epic/DM-4993-reland-projects
Nov 18, 2026
Merged

carlosfunk merged 29 commits into
mainfrom
epic/DM-4993-reland-projects

Conversation

@elliotsimpson-dm

@elliotsimpson-dm elliotsimpson-dm commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Adds the Projects epic (DM-4993) back after it was backed out of main by DM-4993-defer-projects. Companion to datamasque/datamasque!4112.

The epic's 21 commits and its 6 PR merges are replayed onto the back-out with git rebase --rebase-merges, so each keeps its original author and author date. The replayed tree is identical to the original epic merge (d58b1ea). The docs build fix (#73), bulk-move conflict errors (#77) and review fixes are on top of it.

@elliotsimpson-dm elliotsimpson-dm self-assigned this Nov 4, 2026
Base automatically changed from DM-4993-defer-projects to main November 4, 2026 21:42
@elliotsimpson-dm
elliotsimpson-dm force-pushed the epic/DM-4993-reland-projects branch 2 times, most recently from f7d1d06 to d122bf5 Compare November 5, 2026 19:23
@carlosfunk
carlosfunk added this pull request to stack #82 November 12, 2026 02:44
@carlosfunk
carlosfunk removed this pull request from stack #82 November 12, 2026 02:46
@elliotsimpson-dm
elliotsimpson-dm marked this pull request as ready for review November 17, 2026 02:02

@carlosfunk carlosfunk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two line comments need changes before merge.

Comment thread datamasque/client/discovery.py Resolved
Comment thread HISTORY.rst Resolved
elliotsimpson-dm and others added 17 commits November 18, 2026 17:53
`DataMasqueInstanceConfig.default_project` names the project a create goes
into when its model has no `project`. Every create of a connection,
ruleset, discovery config, RG config, table reference or library sends
it, and `create_or_update_*` looks for an existing resource in it, before
falling back to the server's only active project. Updating a connection
leaves it in its project.
- `list_resources` keys its groups by `ResourceTypeName`, so its result can be passed straight to `move_resources`.
- `ProjectDeleteConflict.type` is a `ResourceTypeName`.
… project

- `ProjectIdentifier` names the three forms a project can be given in.
cph-datamasque and others added 10 commits November 18, 2026 17:54
The server now moves everything or nothing, so a conflict returns 409 with the
conflicts, and a success returns only the count moved.
…move

A 409 whose body is not JSON now raises DataMasqueApiError, and the docstrings say
that an already_in_destination conflict does not stop a move.
docs: fix the Sphinx warnings that fail the docs build
fix: Raise ResourceMoveConflictError when a move has a conflict
…e server 3.26.22

Date the 1.7.0 release 2026-11-20.
@elliotsimpson-dm
elliotsimpson-dm force-pushed the epic/DM-4993-reland-projects branch from 8005819 to 35743e6 Compare November 18, 2026 04:57
@elliotsimpson-dm
elliotsimpson-dm force-pushed the epic/DM-4993-reland-projects branch from 35743e6 to e1b4cb0 Compare November 18, 2026 05:15
@carlosfunk
carlosfunk merged commit 484dcac into main Nov 18, 2026
9 checks passed
@carlosfunk
carlosfunk deleted the epic/DM-4993-reland-projects branch November 18, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants